package com.clover.video.ffmpeg;

/**
 * 视频流量(码率)，流畅:256 200p，高清：512 360p，超清：1024 720p
 */
public enum BitrateType {
    FLUENT("200p", 256, "流畅"),
    HIGH_CLEAR("360p", 512, "高清"),
    HIGH_CLEAR_1080i("1080i", 1800, "1080i"),
    HIGH_CLEAR_1080p("1080p", 3500, "1080p"),
    ;

    BitrateType(String name, Integer bitRate, String describe) {
        this.name = name;
        this.bitRate = bitRate;
        this.describe = describe;
    }

    private String name;
    private Integer bitRate; //码率 单位：kpbs
    private String describe;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getBitRate() {
        return bitRate;
    }

    public void setBitRate(Integer bitRate) {
        this.bitRate = bitRate;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }
}
